package com.chen.spring.cloud.miniapp.api.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "spring-cloud-service-admin")
public interface IndexService {

    @RequestMapping(value = "getServiceTel", method = RequestMethod.GET)
    public String getServiceTel();

    @RequestMapping(value = "/Index/index", method = RequestMethod.GET)
    public String getIndex(@RequestParam(value = "uId") Integer uId);

}
